package team.epos.merchant.service;

import team.epos.merchant.dao.UserDao;
import team.epos.utils.enums.StoreState;
import team.epos.utils.pojo.MUser;

/**
 * @author CHENKI
 */
public class RegitsterServiceImpl implements RegisterService {
    private UserDao userDao=new UserDao();
    @Override
    public int addUser(MUser user) {
        int i=0;
        user.setsId(StoreState.WAIT_CHECK.getCode());
        i=userDao.insert(user,"seqMuser");
        return i;
    }
}
